import numpy as np
import matplotlib.pyplot as plt
import cv2 as cv


img1 = cv.imread('image/view.jpg')
img2 = cv.imread('image/rain.jpg')

img3 = cv.add(img1,img2)
img4 = img1 + img2
img5 = cv.addWeighted(img1,0.7,img2,0.3,0)
fig,axes = plt.subplots(nrows=1,ncols=3,figsize=(10,8),dpi=100)
axes[0].imshow(img3[:,:,::-1])
axes[1].imshow(img4[:,:,::-1])
axes[2].imshow(img5[:,:,::-1])
plt.show()

